﻿.img-list {
  overflow: hidden;
  width: 100%;
}

.img-list .img-li-box {
  float: left;
  text-align: left;
  position: relative;
  display: inline-block;
  width: 110px;
  height: 120px;
  padding: 5px;
  margin: 5px 10px 10px 0;
  border: 1px solid #d1dbe5;
  border-radius: 4px;
  transition: all .3s;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12), 0 0 6px 0 rgba(0, 0, 0, 0.04);
}

.img-list .img-li-box .img-li-b--url {
  display: block;
  width: 100%;
  height: 80px;
  margin: 0 auto;
  border-radius: 4px;
}

.img-list .img-li-box .img-li-b--bottom {
  margin-top: 2px;
}

.img-list .img-li-box .img-li-b--bottom .img-li-b--name {
  width: 90%;
  text-overflow: ellipsis;
  overflow: hidden;
  height: 22px;
  line-height: 22px;
}

.img-list .img-li-box .img-li-b--delete {
  position: absolute;
  bottom: 10px;
  right: 10px;
  color: #8492a6;
  cursor: pointer;
  font-size: 1.1em;
}

.img-list .img-li-box .img-li-b--layer {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 90px;
  color: #fff;
  text-align: center;
  z-index: 5;
  background-color: rgba(0, 0, 0, 0.4);
}

.img-list .img-li-box .img-li-b--layer i {
  font-size: 1.6em;
  margin-top: 40px;
}

.img-list .img-li-box .img-li-b--delete,
.img-list .img-li-box .img-li-b--layer {
  opacity: 0;
  transition: all .3s;
}

.img-list .img-li-box:hover .img-li-b--delete,
.img-list .img-li-box:hover .img-li-b--layer {
  opacity: 1;
}

.img-list .img-li-box.img-li-b--progress {
  text-align: center;
  padding-top: 10px;
}

.img-list .img-li-b--upload {
  float: left;
  width: 110px;
  height: 120px;
  display: table;
  text-align: center;
}

.img-list .img-li-b--upload .img-li-b--upl--field {
  width: 100%;
  display: table-cell;
  vertical-align: middle;
}
